# 基于递归函数实现，计算阶乘 1*2*3*....*n
def count_2(n):
    if n == 1:
        return 1
    return n*count_2(n-1)

value=count_2(5)
print(value)